<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
	String path = request.getContextPath(); //解決跳轉后樣式丟失的問題
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 	
%>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="<%=path%>/background/style/resource/Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<%=path%>/background/style/resource/Css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="<%=path%>/background/style/resource/Css/style.css" />
    <script type="text/javascript" src="<%=path%>/background/style/resource/Js/jquery.js"></script>
    <script type="text/javascript" src="<%=path%>/background/style/resource/Js/jquery.sorted.js"></script>
    <script type="text/javascript" src="<%=path%>/background/style/resource/Js/bootstrap.js"></script>
    <script type="text/javascript" src="<%=path%>/background/style/resource/Js/ckform.js"></script>
    <script type="text/javascript" src="<%=path%>/background/style/resource/Js/common.js"></script>

    <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }


    </style>
</head>
<body>
<form action="/tbpoject/business3/updatehotspotbyid?id=${info.id}" method="post" class="definewidth m20">
<table class="table table-bordered table-hover definewidth m10">
	
	 <tr>
        <td width="10%" class="tableleft">标题Id</td>
        <td><span id="id">${info.id}</span></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">标题</td>
        <td><input type="text" name ="main" value="${info.main }"/></td>
    </tr>
   
    <tr>
        <td class="tableleft">第一行：</td>
        <td><input type="text" name="message1" value="${info.message1 }"/><input type="text" name="message2" value="${info.message2 }"/><input type="text" name="message3" value="${info.message3 }"/><input type="text" name="message4" value="${info.message4}"/></td>
    </tr>
    <tr>
        <td class="tableleft">第二行：</td>
        <td><input type="text" name="message5" value="${info.message5 }"/><input type="text" name="message6" value="${info.message6 }"/><input type="text" name="message7" value="${info.message7 }"/><input type="text" name="message8" value="${info.message8}"/></td>
    </tr>
    <tr>
        <td class="tableleft">第三行：</td>
        <td><input type="text" name="message9" value="${info.message9 }"/><input type="text" name="message10" value="${info.message10 }"/><input type="text" name="message11" value="${info.message11 }"/><input type="text" name="message12" value="${info.message12}"/></td>
    </tr>
    <tr>
        <td class="tableleft">第四行：</td>
        <td><input type="text" name="message13" value="${info.message13 }"/><input type="text" name="message14" value="${info.message14 }"/><input type="text" name="message15" value="${info.message15 }"/><input type="text" name="message16" value="${info.message16}"/></td>
    </tr>
    <tr>
        <td class="tableleft"></td>
        <td>
            <button type="submit" class="btn btn-primary" type="button">保存</button> &nbsp;&nbsp;<button type="reset" class="btn btn-success" name="backid" id="backid">重置</button>
        </td>
    </tr>
</table>
</form>
</body>
</html>
